package com.zjq.designpatterns.creation.builder.code.v2;/*
 * 版权信息: 北京千⾥马网信科技有限公司</br>
 * Copyright ©2008-2018. All rights reserved. 京ICP备16007318号
 */

/**
 * @author jessie
 * @version 1.0
 * @date 2021/1/22
 */
public class Test {
    public static void main(String[] args) {
        Course course = new Course.CourseBuilder()
                .buildCourseName("java设计模式精讲")
                .buildCoursePPT("PPT")
                .buildCourseQA("QA")
                .build();
        //Course{courseName='java设计模式精讲', coursePPT='PPT',
        // courseVideo='null', courseArticle='null', courseQA='QA'}
        System.out.println(course);
    }
}
